import request from '@/utils/request'

// 根据业主ID获取楼宇信息
export function getResidentByOwnerId(ownerId) {
    return request({
        url: `/resident/getResidentByOwnerId/${ownerId}`,
        method: 'get'
    })
}


// 新增成员
export function batchAddResidents(data) {
    return request({
        url: '/resident/batchAddResidents',
        method: 'post',
        data: data
    })
}